package org.zfes.snowier.common.monitor.http.okhttp3.handler;

import org.zfes.snowier.common.monitor.http.HttpRuntimeException;
import org.zfes.snowier.common.monitor.http.response.JsonResponse;
@FunctionalInterface
public interface HandlerSyncJson<R> {

   
	default void onFailure(Exception e){
		throw new HttpRuntimeException(e);
	}
    
	R onResponse(JsonResponse jsonResponse);
     
}
